package org.misalen.web.server.config;

import org.misalen.validate.annotation.Length;
import org.misalen.validate.annotation.Required;

/**
 * imei 设备IMEI号
 * 
 * macCode 设备类型(Android/iOS 固定值)
 *
 * deviceInfo 设备型号
 *
 * osVersion 系统版本
 *
 * macTime 系统时间(时间戳) 13位
 *
 * version 客户端版本
 *
 * userid 用户id
 * 
 * nonceStr 随机数 十位
 *
 * sign 签名 String
 * 
 * @author misaya
 *
 */
public class FilterForm {

	@Required
	private String imei;
	@Required
	private String macCode;
	@Required
	private String uid;
	@Length(length = 13)
	private Long macTime;
	@Length(length = 10)
	private String nonceStr;
	@Required
	private String deviceInfo;
	@Required
	private String osVersion;
	@Required
	private String version;
	@Length(length = 32)
	private String sign;
	@Required
	private String servletPath;

	private String token;

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getServletPath() {
		return servletPath;
	}

	public void setServletPath(String servletPath) {
		this.servletPath = servletPath;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getDeviceInfo() {
		return deviceInfo;
	}

	public void setDeviceInfo(String deviceInfo) {
		this.deviceInfo = deviceInfo;
	}

	public String getOsVersion() {
		return osVersion;
	}

	public void setOsVersion(String osVersion) {
		this.osVersion = osVersion;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getImei() {
		return imei;
	}

	public void setImei(String imei) {
		this.imei = imei;
	}

	public String getMacCode() {
		return macCode;
	}

	public void setMacCode(String macCode) {
		this.macCode = macCode;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public Long getMacTime() {
		return macTime;
	}

	public void setMacTime(Long macTime) {
		this.macTime = macTime;
	}

	public String getNonceStr() {
		return nonceStr;
	}

	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}

}
